\hypertarget{timetests_8c}{}\section{lib/timetests.c File Reference}
\label{timetests_8c}\index{lib/timetests.\+c@{lib/timetests.\+c}}


Common Linux/\+P\+O\+S\+IX time testing functions.  


{\ttfamily \#include $<$stdlib.\+h$>$}\\*
{\ttfamily \#include $<$string.\+h$>$}\\*
{\ttfamily \#include $<$time.\+h$>$}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{timetests_8c_ae3c957237ef10b1dd9d634b6d3ddb0b0}{mysrand} (int seed)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} int \hyperlink{timetests_8c_a66b9965f3aebbd59ff4d3a6c9ca0040e}{myrand} (int start, int end)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} int \hyperlink{timetests_8c_ae7aeedba022f6bb6d51510e55c95c4fa}{timetests} (char $\ast$str, int check)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static unsigned int \hyperlink{timetests_8c_a7e4ffe70d2c17f34cdfaa168392c4970}{\+\_\+\+\_\+seed}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Common Linux/\+P\+O\+S\+IX time testing functions. 

\begin{DoxyParagraph}{Copyright \copyright{} 2015 Mike Gore, G\+PL License}

\end{DoxyParagraph}
\begin{DoxyParagraph}{You are free to use this code under the terms of G\+PL}
please retain a copy of this notice in any code you use it in.
\end{DoxyParagraph}
This is free software\+: you can redistribute it and/or modify it under the terms of the G\+NU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but W\+I\+T\+H\+O\+UT A\+NY W\+A\+R\+R\+A\+N\+TY; without even the implied warranty of M\+E\+R\+C\+H\+A\+N\+T\+A\+B\+I\+L\+I\+TY or F\+I\+T\+N\+E\+SS F\+OR A P\+A\+R\+T\+I\+C\+U\+L\+AR P\+U\+R\+P\+O\+SE. See the G\+NU General Public License for more details.

You should have received a copy of the G\+NU General Public License along with this program. If not, see \href{http://www.gnu.org/licenses/}{\tt http\+://www.\+gnu.\+org/licenses/}. 

\subsection{Function Documentation}
\index{timetests.\+c@{timetests.\+c}!myrand@{myrand}}
\index{myrand@{myrand}!timetests.\+c@{timetests.\+c}}
\subsubsection[{\texorpdfstring{myrand(int start, int end)}{myrand(int start, int end)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} int myrand (
\begin{DoxyParamCaption}
\item[{int}]{start, }
\item[{int}]{end}
\end{DoxyParamCaption}
)}\hypertarget{timetests_8c_a66b9965f3aebbd59ff4d3a6c9ca0040e}{}\label{timetests_8c_a66b9965f3aebbd59ff4d3a6c9ca0040e}


Definition at line 52 of file timetests.\+c.



Referenced by timetests().

\index{timetests.\+c@{timetests.\+c}!mysrand@{mysrand}}
\index{mysrand@{mysrand}!timetests.\+c@{timetests.\+c}}
\subsubsection[{\texorpdfstring{mysrand(int seed)}{mysrand(int seed)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void mysrand (
\begin{DoxyParamCaption}
\item[{int}]{seed}
\end{DoxyParamCaption}
)}\hypertarget{timetests_8c_ae3c957237ef10b1dd9d634b6d3ddb0b0}{}\label{timetests_8c_ae3c957237ef10b1dd9d634b6d3ddb0b0}


Definition at line 46 of file timetests.\+c.



Referenced by timetests().

\index{timetests.\+c@{timetests.\+c}!timetests@{timetests}}
\index{timetests@{timetests}!timetests.\+c@{timetests.\+c}}
\subsubsection[{\texorpdfstring{timetests(char $\ast$str, int check)}{timetests(char *str, int check)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} int timetests (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{str, }
\item[{int}]{check}
\end{DoxyParamCaption}
)}\hypertarget{timetests_8c_ae7aeedba022f6bb6d51510e55c95c4fa}{}\label{timetests_8c_ae7aeedba022f6bb6d51510e55c95c4fa}


Definition at line 99 of file timetests.\+c.



Referenced by user\+\_\+tests().



\subsection{Variable Documentation}
\index{timetests.\+c@{timetests.\+c}!\+\_\+\+\_\+seed@{\+\_\+\+\_\+seed}}
\index{\+\_\+\+\_\+seed@{\+\_\+\+\_\+seed}!timetests.\+c@{timetests.\+c}}
\subsubsection[{\texorpdfstring{\+\_\+\+\_\+seed}{__seed}}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \+\_\+\+\_\+seed\hspace{0.3cm}{\ttfamily [static]}}\hypertarget{timetests_8c_a7e4ffe70d2c17f34cdfaa168392c4970}{}\label{timetests_8c_a7e4ffe70d2c17f34cdfaa168392c4970}


Definition at line 43 of file timetests.\+c.



Referenced by myrand(), and mysrand().

